package cn.fw.community.infrastructure.base.config;

import io.gitee.chearnee.fw.log.sql.core.LogInterceptor;
import org.apache.ibatis.plugin.Interceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

@Configuration
public class AppConfig {

    @Bean
    @Order(-1)
    public Interceptor logInterceptor() {
        return new LogInterceptor("logTest");
    }
}
